<?php

/*
 * Fresns Control Panel (Standalone)
 * Copyright (C) 2021-Present 刘鑫
 * Released under the MIT License.
 */

namespace App\Plugins\FcpApi\Base;

class FsConfig
{
    const VIEW_MODE_PUBLIC = 1;
    const VIEW_MODE_PRIVATE = 2;

    const HEADER_FIELD_ARR = [
        'platform',
        'version',
        'versionInt',
        'timestamp',
        'appId',
        'sign',
    ];

    const SIGN_FIELD_ARR = [
        'platform',
        'version',
        'versionInt',
        'timestamp',
        'uid',
        'mid',
        'token',
        'appId',
    ];
}
